import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import channel from './modules/channels'
Vue.use(Vuex)

export default new Vuex.Store({
  // 开启严格模式
  strict: process.env.NODE_ENV !== 'production',
  modules: {
    user,
    channel
  }
})
